<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <title> comparewuzi </title>
  <script src="<?php echo Yii::app()->request->baseUrl; ?>/js/jquery.js" type="text/javascript"></script>
  <meta name="Author" content="">
  <meta name="Keywords" content="">
  <meta name="Description" content="">
 </head>

 <body>
系统物资库：
   <select name="Wuziku" id="Pwuzi">
	<option value="0" selected>请选择</option>
	<?php foreach ($wuziku as $wuzi):?>
	<option value="<?php echo $wuzi->source;?>"><?php echo $wuzi->source;?></option>
	<?php endforeach;?>
  </select>
  
  <input type="button" value="确定" id="compare_url">
 </body>
 
	<script type="text/javascript">
	 
		$("#compare_url").click(function(){
			var compareWz = $("#Pwuzi option:selected").val();
			window.location.href = "http://127.0.0.1:19801/ProjectWuZiKu/compare?source="+compareWz;
		}); 
	
	</script>
</html>